How many frames of the other players’ buttons never reached this console since they were first heard. A healthy cable keeps this at or near 0. Draw it on the screen while you test: if it climbs, two consoles are drifting apart.
Works differently on Game Boy - On the Game Boy link_missed counts the messages that were lost: every one on the console that leads, but only runs of two or more empty frames on the other, because one missing frame there can also be the two consoles' frames slipping past each other.
Works differently on Game Boy Color - On the Game Boy Color link_missed counts the messages that were lost: every one on the console that leads, but only runs of two or more empty frames on the other, because one missing frame there can also be the two consoles' frames slipping past each other.
On other consoles this differs: see Side by side and How the consoles differ.
link_missed() -> intint
How many messages from the other consoles never arrived, since they were first heard. Each lost message is one frame of someone's buttons that this console never saw.
A healthy cable keeps this at or near 0. Draw it on the screen while you test: if it climbs, the cable, or the distance between consoles, is the problem. If it stays at 0 and the two screens still drift apart, the lag is the cause instead, and the answer is a rule that puts both consoles back in step.
The number is a guide, not an exact tally. A console that restarts its game starts its message counter over, and that shows up as a few missed messages once.
var lost = link_missed();
draw_text(12, 24, $"MISSED: {lost}");Shows the number of lost messages, handy while testing a cable.
Every message carries a small counter, and a gap in the counter is a lost message. The count is a guide, not an exact tally: a console that restarts its game starts its counter over, and that shows up as a few "missed" messages once.